package com.engineering.elink.videodao;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.VideoCollection;

public interface VideoCollectionMapper {
    int deleteByPrimaryKey(Integer collectionId);

    int insert(VideoCollection record);

    int insertSelective(VideoCollection record);

    VideoCollection selectByPrimaryKey(Integer collectionId);

    int updateByPrimaryKeySelective(VideoCollection record);

    int updateByPrimaryKey(VideoCollection record);
    
    int select(@Param("userId") String userId,@Param("courseId") Integer courseId);
    
    int deleteByCollection(@Param("userId") String userId,@Param("courseId") Integer courseId);
}